package tretyakov_o_u.diplom.gui.one;

import java.io.File;
import java.io.UnsupportedEncodingException;

public class App { 
    
    public App() {
        super();
    }

    public static void main(String[] args) throws InterruptedException {
        String s = "Привет";
        String cp ="utf8";
        try {
            System.out.println(s.getBytes(cp));
            System.out.println("dsdsdыыыывапролджкенгшщз");
        } catch (UnsupportedEncodingException e) {
        }
        
        
        ThreadFile threadF = new ThreadFile();
        Thread t = new Thread(threadF);
        threadF.brunTread =true;
//        threadF.brunTread = false;        
//        t.setPriority(1);
        t.setName("FindDriv");
        t.setPriority(2);
        t.start();
//        threadF.run();
        System.out.println("2");
        Thread.sleep(1000*40);
        
        threadF.brunTread = false;
        System.out.println("_________________________________________________");
    }
}